package com.fly.msg;

/**
 * @author frinder
 * @date 2018/6/1
 * @Description: ${todo}
 */
public class Constant {


    /**
     * stomp 切点
     */
    public static String STOMP_ENDPOINT = "/endpointWisely";

    /**
     * 客户端向服务端发送消息前缀
     */
    public static String WS_CLIENT_CALL_PREFIX = "/ws/server";

    /**
     * 广播消息
     */
    public static String TOPIC = "/topic";

    /**
     * 客户端请求服务端地址
     */
    public static final String WS_CLIENT_SEND_ADDRESS = "/client";

    /**
     * 服务端广播消息地址
     */
    public static final String TOPIC_MESSAGE_ADDRESS = "/topic/message";

    /**
     * 服务端发送消息到指定用户地址前缀
     */
    public static final String P2P_ADDRESS_PREFIX = "/p2p";

    /**
     * 服务端发送消息到指定用户地址后缀
     */
    public static final String P2P_ADDRESS_SUFFIX = "/msg";


}
